package com.lovo.dao;


import com.lovo.entity.SysCommodityEntity;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;


public interface ISysCommodityDao extends PagingAndSortingRepository<SysCommodityEntity, Integer> {

    List<SysCommodityEntity> findAllByInfo(String info);

    List<SysCommodityEntity> findAll();

    void deleteByProductid(Integer productId);
}
